Error trace:

IP: <?php echo Yii::app()->request->getUserHostAddress();?>

User Agent: <?php echo Yii::app()->request->getUserAgent();?>

Request URL: <?php echo Yii::app()->request->getHostInfo() . Yii::app()->request->getRequestUri(); ?>

-------------------------------------------------

<?php 
unset($error['traces']);
echo trim(print_r($error,true),'Array()');
?>

-------------------------------------------------

<?php echo $output; ?>